package com.example.controller;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
public interface StreamClient {
    String STREAM_DEMO = "scstreamExchange";

    @Output(StreamClient.STREAM_DEMO)
    MessageChannel streamDateOut();

    @Input(StreamClient.STREAM_DEMO)
    MessageChannel streamDateInput();
}
